<?php
if (isset($_POST['id'])){
    include '../c/config.php';
    $mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
    if (!$mysqli->set_charset("utf8")) {}
    $id=addslashes(trim($_POST['id']));
    $query=$mysqli->query("SELECT shijian,zubie,anpai FROM saisi where id='".$id."' limit 0,1 ");
    while ($list=$query->fetch_assoc()){
        $sai=$list;
    }
    
    $mysqli->close();
    
    echo json_encode(array('x'=>$sai));
}



